package com.zr.dao;
import java.util.List;

import com.zr.model.Function;

/**
 * 
 * @author CY
 *
 */
import net.sf.json.JSONArray;

public interface FunctionDao {

	public JSONArray getfuncsByParentId(int parentId);

	public List<Function> getUserFunction(int did);
	
	
	public JSONArray getUserFunctionByDepartment(int did, int parentId);
	
	public JSONArray getCurrentUserFuncsByParentId(int parentId);
	
}
